package org.csu.equipment.service;


import org.csu.equipment.entity.Employee;
import org.csu.equipment.entity.EmployeeLogin;
import org.csu.equipment.entity.EmployeeSkill;
import org.csu.equipment.entity.Task;

import java.util.List;

public interface EmployeeService {

    Integer login(String EId,String EPwd);
    List<Task> getTasksToSelect(String EId);
    List<Task> getMyTasks(String EId);
    String getTask(String TId,String EId,String material);
    void finishTask(String TId,String EId);
    void updateEmployee(Employee employee);
    void updateEmployeeSkill(EmployeeSkill employeeSkill);
    void updateEmployeeLogin(EmployeeLogin employeeLogin);
    String requestout(String TId, String type);
    Employee getEmployee(String EId);
    EmployeeSkill getEmployeeSkill(String EId);
    Task getTaskbyId(String TId);
    EmployeeLogin getEmployeeLogin(String EId);
    int rank(String EId);
    Task getATask(String EId);

}
